<?php


namespace gzapi\common\model;


use think\Db;
use think\Model;

class GzHiseServiceProTrainDetailModel extends Model
{
    protected $pk = 'row_id';
    protected $prefix = 'cmf_';
    protected $createTime = 'create_time';
    protected $updateTime = 'update_time';
    protected $autoWriteTimestamp = true;

    //添加签名信息
    public function trainSingAdd($data)
    {
        self::data($data);
        return self::save();
    }

    //查询
    public function getSing($where)
    {
        $data = self::where($where)->find();
        return $data;
    }
}